package com.twetec.cms.model.vo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author wugaojian
 * @date 2022/2/9 11:25
 */
@ApiModel
public class CmsRolePageListVO implements Serializable {
    @ApiModelProperty(value = "当前页码", example = "1")
    private Integer page;

    @ApiModelProperty(value = "总记录数", example = "12")
    private Integer total;

    @ApiModelProperty(value = "页条目数", example = "10")
    private Integer limit;

    @ApiModelProperty(value = "当前页记录")
    private List<CmsRoleVO> list;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public List<CmsRoleVO> getList() {
        return list;
    }

    public void setList(List<CmsRoleVO> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "CmsRolePageListVO{" +
                "page=" + page +
                ", total=" + total +
                ", limit=" + limit +
                ", list=" + list +
                '}';
    }
}
